BenSelect Documentation
DependentLegalStatusID values
Send Feedback
JScript Examples > JScript for Reports > DependentLegalStatusID values

Glossary Item Box

These values can be used to determine the relationship loaded in the system (Adopted Child or Step Child, for example):

Employee = 0,

Spouse = 100,

ExSpouse = 101,

CommonLawSpouse = 102,

Child = 200,

AdoptedChild = 201,

CollateralDependent = 202,

CustodialGrandchild = 203,

FosterChild = 204,

Stepchild = 205,

Ward = 206,

CustodialNieceOrNephew = 207,

DomesticPartnersChild = 208,

Grandchild = 300,

DomesticPartner = 400,

CivilUnionPartner = 401,

Parent = 500,

Grandparent = 600,

AdultBenefitRecipient = 700,

Beneficiary = 10000,

Trust = 10001,

AuntOrUncle = 10002,

NephewOrNiece = 10003,

Sibling = 10004,

Cousin = 10005

---------------------------------------------------------------------------------------

Example code:

var sRelationship:String = Event.Value;

switch (Event.Value)

{

case 0: // Employee

sRelationship = "Emp";

break;

case 100: // Spouse

sRelationship = "S";

break;

case 101: // Ex-spouse

sRelationship = "EX";

break;

case 102: // Common-law spouse

sRelationship = "CLS";

break;

case 200: // Child

sRelationship = "C";

break;

case 201: // Adopted child

sRelationship = "AC";

break;

case 202: // Collateral dependent

sRelationship = "CD";

break;

case 203: // Custodial grandchild

sRelationship = "CG";

break;

case 204: // Foster child

sRelationship = "FC";

break;

case 205: // Stepchild

sRelationship = "SC";

break;

case 206: // Ward

sRelationship = "W";

break;

case 207: // Custodial niece or nephew

sRelationship = "CN";

break;

case 208: // Domestic partner's child

sRelationship = "PS";

break;

case 300: // Grandchild

sRelationship = "C";

break;

case 400: // Domestic partner

sRelationship = "D";

break;

case 401: // Civil union partner

sRelationship = "CU";

break;

case 500: // Parent

sRelationship = "P";

break;

case 600: // Grandparent

sRelationship = "GP";

break;

case 700: // Adult benefit recipient

sRelationship = "ABR";

break;

case 10002: // Aunt or Uncle

sRelationship = "AU";

break;

case 10003: // Niece or Nephew

sRelationship = "NN";

break;

case 10004: // Sibling

sRelationship = "SIB";

break;

}

Event.Value = sRelationship;

 

©2024. All Rights Reserved.